<template>
  <div class="chuzu-page">
    <!-- 我的收藏 -->
    <van-nav-bar
      title="我的出租"
      left-text="返回"
      left-arrow
      @click-left="$router.back()"
    />
<ChuzuItem v-for="(item,index) in list" :key="index" :item="item"></ChuzuItem>
  </div>
</template>

<script>
import { getChuzu } from '@/api/find'
import ChuzuItem from '@/components/CollectItem.vue'
export default {
  components: {
    ChuzuItem
  },
  data () {
    return {
      loading: false,
      finished: false,
      list: []

    }
  },
  methods: { },
  async created () {
    const { body } = await getChuzu()
    // console.log(body)
    this.list = body
    // console.log(body)
  }

}

</script>

<style >

</style>
